package com.qing.factory.simple;

import com.qing.annotation.factory.SimpleFactory;

/**
 * @author qing <br/>
 * 2023/9/17
 */
@SimpleFactory(id = "ProductA", type = Product.class)
public class ProductA implements Product{
    @Override
    public void doSomething() {
        Product.super.doSomething();
        System.out.println("ProductA#doSomething");
    }

    @Override
    public float getPrice() {
        return 9.99f;
    }
}
